<template>
  <div class="equityDetail1">
        <el-row :gutter="20">
            <el-col :span="10">
                <div class="right">
                    <h1>投资策略</h1>
                    <ul class="newsList">
                     <li v-for="(item,index) in newdata" :key="index" v-if="index<6">
                        <nuxt-link :to="'/post/' + item.pid">
                            <span class="dian"></span>{{item.name}}
                        </nuxt-link>
                    </li>
                 </ul>
                </div>
            </el-col>
            <el-col :span="14">
                <div class="detailleft">
                        <div class="detailleftrow">
                            <div class="detailleftmain">
                                <img src="http://p6dwecco6.bkt.clouddn.com/img/list/img-01.png" alt="">
                                <div class="detailleftmsg">
                                    <h2>管理人资质</h2>
                                    <p>历史业绩、背景、投后服务能力</p>
                                </div>
                            </div>
                            <div class="detailleftmain">
                                <img src="http://p6dwecco6.bkt.clouddn.com/img/list/img-02.png" alt="">                                
                                <div class="detailleftmsg">
                                    <h2>投资标的财务状况</h2>
                                    <p>投资标的当下与未来、行业地位、政策</p>
                                </div>
                            </div>
                        </div>
                        <div class="detailleftrow">
                            <div class="detailleftmain">
                                <img src="http://p6dwecco6.bkt.clouddn.com/img/list/img-03.png" alt="">                                
                                <div class="detailleftmsg">
                                    <h2>进入的估值与未来的空间</h2>
                                    <p>是否能够扩大投资者的收益</p>
                                </div>
                            </div>
                            <div class="detailleftmain">
                                <img src="http://p6dwecco6.bkt.clouddn.com/img/list/img-04.png" alt="">                                
                                <div class="detailleftmsg">
                                    <h2>风险应对措施</h2>
                                    <p>能否有效的提高投资者的安全边际</p>
                                </div>
                            </div>
                        </div>
                </div>
            </el-col>
        </el-row>
  </div>
</template>


<script>
export default {
  props: {
    newdata:{
      type:Array,
      default:function(){
        return []
      }
    }
  }

};
</script>


<style scoped>
.right h1{
    text-align: left !important;
    margin-top: 10px;
}
.detailleft{
    margin-top: 40px;
}
.linecontent{
    height: 300px;
    width: 1px;
    background: #dfdfdf;
    margin: 54px auto 0;   
}
.equityDetail1{
    margin-top: 20px;
    background: white;
    padding: 10px 20px;
}
.equityDetail1 h1{
    font-size: 22px;
    color: #cd9c54;
    text-align: center;
    margin: 10px 0;
}
.detailleftrow{
    display: flex;
    justify-content: flex-start;
}
.detailleftmain{
    margin:10px;
    height: 140px;
    width: 322px;
    position: relative;
    
}
.detailleftmain img{
    overflow: hidden;
    width: 100%;
    height: 100%;
}
.detailleftmsg{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, .5)
}
.detailleftmsg h2{
    color: white;
    font-size: 22px;
    text-align: center; 
    margin: 46px 0 14px;
}
.detailleftmsg p{
    font-size: 16px;
    color: #fff;
    text-align: center;
}

.detailleftmsg h3{
    color: #fff;
    text-align: center;
    font-size: 18px;
    line-height: 1.5;
}
.detailleftmsg h3:nth-child(1){
    margin-top: 40px;
}
.dian{
    display: inline-block;
    height: 6px;
    width: 6px;
    border-radius: 50%;
    background: black;
    vertical-align: middle;
    margin-right: 10px;
}
.newsList{
    margin-top: 20px;
    height: 300px;
    overflow: hidden;
}
.newsList li{
    height: 50px;
    line-height: 50px;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.newsList li:hover{
    color: #cd9c54;
}
</style>
